package  htmlAnalyze.htmlObject
{
	/**
	 * ...
	 * @author FireKnight
	 */
	public class HtmlTextElement extends Object 
	{
		protected var _wholeText:String;
		protected var _length:Number;
		protected var _data:Object;
		protected var _nodeName:String;
		protected var _resource:Object;
		public function HtmlTextElement(s:*) 
		{
			super();
			if (s.nodeName!="#text" )
			{
				trace("object is not text");
				return;
			}     
			_resource = s;
			init(s);
		}
		
		protected function init(s:*):void
		{
			_wholeText = s.wholeText;
			_length = s.length;
			_data = s.data;
			_nodeName = s.nodeName;
		}
		
		public function get wholeText():String { return _wholeText; }
		public function get length():Number { return _length; }
		public function get data():Object { return _data; }
		public function get nodeName():String  { return _nodeName; }
		public function get resource():Object { return _resource};
		
	}

	/*
	 * wholeText= 
length= 2
data= 
previousSibling= null
parentNode= [object HTMLBodyElement]
lastChild= null
baseURI= http://www.huarong56.com/static/touguomeitikanhuarong/2011/1028/72.html
firstChild= null
nodeValue= 
textContent= 
nodeType= 3
nodeName= #text
prefix= null
childNodes= [object NodeList]
nextSibling= [object HTMLDivElement]
attributes= null
ownerDocument= [object HTMLDocument]
namespaceURI= null
localName= null
parentElement= [object HTMLBodyElement]
splitText= function splitText() {
    [native code]
}
replaceWholeText= function replaceWholeText() {
    [native code]
}
replaceData= function replaceData() {
    [native code]
}
substringData= function substringData() {
    [native code]
}
appendData= function appendData() {
    [native code]
}
deleteData= function deleteData() {
    [native code]
}
insertData= function insertData() {
    [native code]
}
addEventListener= function addEventListener() {
    [native code]
}
appendChild= function appendChild() {
    [native code]
}
cloneNode= function cloneNode() {
    [native code]
}
removeEventListener= function removeEventListener() {
    [native code]
}
compareDocumentPosition= function compareDocumentPosition() {
    [native code]
}
insertBefore= function insertBefore() {
    [native code]
}
removeChild= function removeChild() {
    [native code]
}
hasAttributes= function hasAttributes() {
    [native code]
}
NOTATION_NODE= 12
CDATA_SECTION_NODE= 4
isSupported= function isSupported() {
    [native code]
}
ELEMENT_NODE= 1
DOCUMENT_POSITION_DISCONNECTED= 1
isEqualNode= function isEqualNode() {
    [native code]
}
ENTITY_NODE= 6
TEXT_NODE= 3
ENTITY_REFERENCE_NODE= 5
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC= 32
DOCUMENT_FRAGMENT_NODE= 11
dispatchEvent= function dispatchEvent() {
    [native code]
}
PROCESSING_INSTRUCTION_NODE= 7
isDefaultNamespace= function isDefaultNamespace() {
    [native code]
}
hasChildNodes= function hasChildNodes() {
    [native code]
}
DOCUMENT_POSITION_PRECEDING= 2
normalize= function normalize() {
    [native code]
}
DOCUMENT_TYPE_NODE= 10
COMMENT_NODE= 8
replaceChild= function replaceChild() {
    [native code]
}
DOCUMENT_POSITION_FOLLOWING= 4
ATTRIBUTE_NODE= 2
DOCUMENT_POSITION_CONTAINED_BY= 16
DOCUMENT_NODE= 9
DOCUMENT_POSITION_CONTAINS= 8
isSameNode= function isSameNode() {
    [native code]
}
lookupPrefix= function lookupPrefix() {
    [native code]
}
lookupNamespaceURI= function lookupNamespaceURI() {
    [native code]
}
	 * 
	 * 
	 * 
	 * 
	 * */
}